<template>
<uni-shadow-root class="partials-newsList-simpleNewsList"><template name="simpleNewsList">
  <block v-if="relateBean.length >= "1"">
    <view class="ListDataContainer">
      <view v-for="(item,index) in (relateBean)" :key="item" class="ListDataItem" v-if="index<jsonData.count" :data-item="item" @click="tolinkUrl">
        <view v-if="item.imagePath" class="ListDataItemImage"><image mode="aspectFill" :src="(item.imagePath)+'?x-oss-process=style/preview'"></image></view>
        <view class="ListDataItemWord"> 
          <text class="lineheight_title font_1">{{item.title}}</text>
          <text class="word2 font_08">{{item.description}} </text> 
        </view>
      </view>
    </view>
</block>
<block v-if="relateBean.length==0">
    <view class="noproduct">
      <image mode="widthFix" src="https://image1.sansancloud.com/xianhua/2019_12/16/15/54/55_950.jpg?x-oss-process=style/preview_120"></image>
      <text>没有相关新闻</text>
    </view>
</block>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/newsList/simpleNewsList'

Component({})

export default global['__wxComponents']['partials/newsList/simpleNewsList']
</script>
<style platform="mp-weixin">

</style>